﻿using System.Windows;

namespace com.bodurov.WpfControls.SampleApp
{
    public partial class ErrorView : Window
    {
        public ErrorView()
        {
            InitializeComponent();
        }

        public void SetError(string text)
        {
            this.ErrorText.Text = text;
        }

        private void OkButton_Click(object sender, RoutedEventArgs e)
        {
            this.Close();
        }
    }
}
